package top.zywork.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.zywork.dao.UserRanksGameInfoDAO;
import top.zywork.dos.UserRanksGameInfoDO;
import top.zywork.dto.UserRanksGameInfoDTO;
import top.zywork.service.AbstractBaseService;
import top.zywork.service.UserRanksGameInfoService;

import javax.annotation.PostConstruct;

/**
 * UserRanksGameInfoServiceImpl服务接口实现类<br/>
 *
 * 创建于2020-05-13<br/>
 *
 * @author http://zywork.top 危锦辉
 * @version 1.0
 */
@Service(value = "userRanksGameInfoService")
public class UserRanksGameInfoServiceImpl extends AbstractBaseService implements UserRanksGameInfoService {

    private UserRanksGameInfoDAO userRanksGameInfoDAO;

    @Autowired
    public void setUserRanksGameInfoDAO(UserRanksGameInfoDAO userRanksGameInfoDAO) {
        super.setBaseDAO(userRanksGameInfoDAO);
        this.userRanksGameInfoDAO = userRanksGameInfoDAO;
    }

    @PostConstruct
    public void init() {
        super.init(UserRanksGameInfoDO.class, UserRanksGameInfoDTO.class);
    }
}